/**
 * 
 */
package sg.edu.nus.iss.team8s.vmcs.payment;

/**
 * @author Wang Shi Jie
 *
 */
public class NewPaymentModeDemo {
	public static void main(String args[]){
		System.out.println("Initianlization starts when user selects a payment mode");
		TransactionController tc = new TransactionController();
		
		CashcardInputListener cil = new CashcardInputListener();
		CashcardInputBox cib = new CashcardInputBox();
		cib.addListener(cil);
		
		cil.register(tc.getPaymentMode());
		
		System.out.println();
		System.out.println("Transaction starts when user inserts a cashcard");
		cib.insertCashcard();
	}
}
